var pkgPath = this.name.replace(/\.model$/, '.');
with (this) 
{
	addScript("mxGraphModel.js", ["mxGraphModel", "mxRootChange", "mxChildChange", "mxTerminalChange", "mxValueChange", "mxStyleChange", "mxGeometryChange", "mxCollapseChange", "mxVisibleChange", "mxCellAttributeChange"], [pkgPath + "util.mxEventSource"], ["*", pkgPath + "util.mxUndoableEdit", pkgPath + "util.mxUtils", pkgPath + "util.mxEventObject", pkgPath + "util.mxEvent"]);
	addScript("mxCell.js", ["mxCell"], null, [pkgPath + "util.mxUtils"]);
	addScript("mxCellPath.js", ["mxCellPath"]);
	addScript("mxGeometry.js", ["mxGeometry"], [pkgPath + "util.mxRectangle"]);
}